// Copyright (c) 2020 Presto Labs Pte. Ltd.
// Author: taekwon

#pragma once

#include <string>

namespace impl {

std::string base64_encode(unsigned char const*, unsigned int len);
std::string base64_decode(std::string const& s);

// Used by dydx
std::string urlsafe_base64_encode(unsigned char const*, unsigned int len);
std::string urlsafe_base64_decode(std::string const& s);

}  // namespace impl
